package project.menu.mastermenu;

import java.util.ArrayList;

import project.controllers.Helper;
import project.menu.IMenu;
import project.menu.IMenuItem;

public class ImportMaster implements IMenuItem {

	private static final String name = "Import masters";
	private static final String METHOD_NAME = "importMasters";
	private final Integer id = 6;
	private static IMenu submenu;

	public Integer getId() {
		return id;
	}

	public ArrayList<String> action() {
		return Helper.setParametrs(METHOD_NAME, null);
	}

	public void setSubmenu(IMenu menu) {
		submenu = menu;
	}

	public String getNameItem() {

		return name;
	}

	public IMenu getMenu() {
		return submenu;
	}
}
